/*
 * Copyright (C) 2016 MC
 * All rights reserved.
 *
 * $$File: $$
 * $$DateTime: $$
 * $$Author: $$
 * $$Revision: $$
 */

package com.glela.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.glela.dao.IMaterialConfigDao;
import com.glela.platform.mapper.SMaterialConfigMapper;
import com.glela.platform.model.SMaterialConfig;

/**
 * @author 
 */
@Repository
public class MaterialConfigDao implements IMaterialConfigDao
{
	@Autowired
	private SMaterialConfigMapper materialConfigMapper;

	/* (non-Javadoc)
	 * @see com.glela.dao.IMaterialConfigDao#selectByType(java.lang.Integer)
	 */
	@Override
	public List<SMaterialConfig> selectByType(Integer type)
	{
		return materialConfigMapper.selectByType(type);
	}

}
